inherited FCadastroNotaFiscal: TFCadastroNotaFiscal
  Left = 285
  Top = 112
  Caption = 'Digita'#231#227'o Nota Fiscal'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  object Label23: TLabel [0]
    Left = 581
    Top = 404
    Width = 118
    Height = 16
    Caption = 'PREST_NF_VALOR'
  end
  inherited pcCadastro: TPageControl
    ActivePage = TsCadastro
    inherited TsPesquisa: TTabSheet
      inherited dbgPesquisaPadra: TDBGrid
        Columns = <
          item
            Expanded = False
            FieldName = 'NF_CODIGO'
            Width = 45
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NF_PEDIDO'
            Title.Alignment = taCenter
            Width = 70
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NF_NOTAFISCAL'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NF_SERIE'
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NF_FORNECEDOR_DESC'
            Width = 280
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NF_DATAEMISSAO'
            Title.Alignment = taCenter
            Width = 90
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NF_DATAESTOQUE'
            Title.Alignment = taCenter
            Title.Caption = 'Estoque'
            Width = 90
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NF_TOTALITENS'
            Title.Alignment = taRightJustify
            Title.Caption = 'Vr. Itens'
            Width = 70
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NF_VALORNF'
            Width = 80
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NF_SITUACAO'
            Visible = True
          end>
      end
      inherited pnPesquisaPadrao: TPanel
        object GroupBox1: TGroupBox
          Left = 690
          Top = -1
          Width = 147
          Height = 58
          Ctl3D = False
          ParentCtl3D = False
          TabOrder = 3
          object CheckBox1: TCheckBox
            Tag = 1
            Left = 1
            Top = 8
            Width = 145
            Height = 17
            Caption = 'N'#227'o Atualizada'
            Color = clYellow
            ParentColor = False
            TabOrder = 0
            OnClick = CheckBox1Click
          end
          object CheckBox2: TCheckBox
            Tag = 1
            Left = 1
            Top = 24
            Width = 145
            Height = 17
            Caption = 'Atualizada'
            Color = clLime
            ParentColor = False
            TabOrder = 1
            OnClick = CheckBox1Click
          end
          object CheckBox3: TCheckBox
            Tag = 1
            Left = 1
            Top = 40
            Width = 145
            Height = 17
            Caption = 'Com Diferen'#231'a'
            Color = clGray
            ParentColor = False
            TabOrder = 2
            OnClick = CheckBox1Click
          end
        end
      end
    end
    inherited TsCadastro: TTabSheet
      inherited panel1: TPanel
        inherited panel2: TPanel
          inherited DBNavigator1: TDBNavigator
            Hints.Strings = ()
          end
        end
        inherited panel3: TPanel
          Top = 396
          Height = 88
          Caption = '-'
          inherited BtnConsuta: TBitBtn
            OnClick = BtnConsutaClick
          end
          inherited BtnCancelar: TBitBtn
            TabOrder = 4
          end
          object BiTAtualizaDesatualiza: TBitBtn
            Tag = 1
            Left = 532
            Top = 5
            Width = 100
            Height = 25
            Caption = 'Atualizar'
            TabOrder = 1
            OnClick = BiTAtualizaDesatualizaClick
            Glyph.Data = {
              36050000424D3605000000000000360400002800000010000000100000000100
              0800000000000001000000000000000000000001000000010000055A0B00055E
              0C0005610B0005640B0004660B0004670B0004680B0004690B00046A0B00046A
              0B00046A0B00046A0B00046A0B00046A0B0004690B0004690B0004680B000467
              0B0005640C00075F0D0008590E000A5210000C4C11000E4513000F401400103B
              15001236160014301700162919001A211B001B1F1D001C1D1E001D1E1E001E1E
              1F001E1F20001F20200020212100212222002223230024242400252526002727
              2700292929002B2B2B002C2C2C002D2D2D002E2E2E002F2F2F00303030003131
              310032323200333333003434340035353500383838003B3B3B00424242004B4A
              4A00555454005B5959005E5C5C005E5C5C005E5C5C005E5C5C005E5C5C005F5D
              5C005F5D5D005F5F5D0060615D0060635D0060655D005F685C005E6B5B005D6F
              5A005C73590058755700567655005476540052765200507550004F744F004D72
              4D004A714A004770470043754600407B45003C81430037884200348E41002E95
              3E002A9D3D0027A33C0025A73B0022AB3A0024AF3F0025B2430026B4470028B4
              4A002AB54E002DB854002FB8590030BA5D0030B65E0030B3600031AE640032AA
              680033A66E0034A27400369E7B00389982003A938B003C8C94003C8799003D83
              9D003E7EA2003F76AC004171B200406BB400456BB0004A6AB0004E6FAB005174
              A6005478A100577D9C005A8197005D85930060888F00628E8900649281006695
              7B00679777006A9B74006E9F720072A26F0074A6720079AA74007FAE780085B3
              7E008CB7820090BA850095BD8A009BBF8E00A0C29300A8C69A00AFCAA000B7CE
              A800C7D4B400D0D8BD00D9DCC500E0E1CA00E6E4CD00EAE6CD00EFE9CE00F4EC
              CF00F6EDCD00F9ECCB00FAEFCE00FCF2D000FDF3D100FDF4D300FDF6D500FDF8
              D700FDF9D900FDFBDE00FDFCE200FDFBE500FDF8E500FDECE700FDDAE900FDC6
              EE00FEB5F100FEA3F400FE79F800FE4DFC00FE31FD00FE1FFE00FE11FE00FE08
              FE00FE03FE00FE01FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00
              FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00FE00
              FE00FE00FE00FE00FE00FE00FE00FE00FE00FE01FE00FA10FB00F51FF900EB35
              F500E249F200DB5BEF00D46AEC00CC7EE800C78DE500C29AE200BDA7DE00BCB2
              D900B9BCD500B9BDD200BABDD000BABDCE00BBBCCB00BCBCC900BCBAC500B9B6
              C000B5B2BD00B7B3B800BAB3B400BBB3AF00BDB3AB00BCB3A800BBB2A600BBB2
              A500BCB1A400BBAFA200BCAEA100BEB09F00C0B19E00C4B19C00C8B29A00CFB4
              9600DAB58D00DFB68800E4B78500E8B78200E8B88100E9B88100E7BA8600E5BB
              8800E5BD8B00E5C08E00E0BB8D00D2B08A00C4A68600B89D8300AF978200AB95
              8000A8948000A39481009E8E80009B8B7D0097897A0096887B00BDBDBDBDBD42
              4242424242BDBDBDBDBDBDBDBD4042DBE4FDFFFCE44242BDBDBDBDBD4293FBFC
              DFDADADEFEFFDE42BDBDBD429455559C9BD0759CA5E4FFDE42BDBD42820D0D85
              F3EFEFEF9BA5E4FF42BD42890D656B0D8C9DF3EFEFF3A5FFE842530D60636565
              0D8B9D9BEFEF9BE2F9420D0D0D5F5F0D0D0D48FBFEF7D0DAFE4242940D5D5D0D
              9DFD1F261FFE757AFE4242950D5B5C84A59AE61FF8F39BE6F8424295FB0D5D0D
              91A5A4921F4A9EFDE842BD4293830D5C0D858F918EFCE1FC42BDBD4194DC850D
              0D0D0D0D8993FCDE42BDBDBD42D5D8E19494D295E3F8E442BDBDBDBDBD4242D9
              DDE0E3E3E04242BDBDBDBDBDBDBDBD424242424242BDBDBDBDBD}
          end
          object btnImportaNF: TBitBtn
            Tag = 3
            Left = 8
            Top = 5
            Width = 100
            Height = 25
            Hint = 'Importar Nota Fiscal Eletr'#244'nica a partir do XML'
            Caption = 'Importar NFe'
            ParentShowHint = False
            ShowHint = True
            TabOrder = 5
            OnClick = btnImportaNFClick
          end
        end
        object PageControl: TPageControl
          Left = 1
          Top = 36
          Width = 842
          Height = 360
          ActivePage = TSItensNota
          Align = alClient
          TabOrder = 2
          OnChange = PageControlChange
          OnEnter = PageControlEnter
          object TSNota: TTabSheet
            Caption = 'Cabe'#231'alho'
            object Label2: TLabel
              Left = 4
              Top = 66
              Width = 67
              Height = 16
              Caption = 'Pedido (F8)'
              FocusControl = DBEPedido
            end
            object Label6: TLabel
              Left = 85
              Top = 66
              Width = 91
              Height = 16
              Caption = 'Estoque / Local'
            end
            object Label7: TLabel
              Left = 4
              Top = 118
              Width = 92
              Height = 16
              Caption = 'Fornecedor (F8)'
            end
            object Label25: TLabel
              Left = 4
              Top = 5
              Width = 40
              Height = 16
              Caption = 'C'#243'digo'
              FocusControl = DBEPedido
            end
            object Label55: TLabel
              Left = 307
              Top = 199
              Width = 101
              Height = 16
              Caption = 'Chave de Acesso'
              FocusControl = DBEPedido
            end
            object Label56: TLabel
              Left = 307
              Top = 160
              Width = 42
              Height = 16
              Caption = 'Modelo'
              FocusControl = DBEPedido
            end
            object DBEPedido: TDBEdit
              Left = 4
              Top = 84
              Width = 75
              Height = 22
              Ctl3D = False
              DataField = 'NF_PEDIDO'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 3
              OnExit = DBEPedidoExit
              OnKeyDown = DBEPedidoKeyDown
            end
            object DBChBDiferenca: TDBCheckBox
              Left = 585
              Top = 22
              Width = 144
              Height = 21
              Caption = 'Aceitar Diferen'#231'a ?   '
              DataField = 'NF_ACEITADIF'
              DataSource = dsCadastro
              TabOrder = 2
              ValueChecked = 'True'
              ValueUnchecked = 'False'
            end
            object DBLCBLocal: TDBLookupComboBox
              Left = 85
              Top = 84
              Width = 255
              Height = 22
              Ctl3D = False
              DataField = 'NF_LOCAL'
              DataSource = dsCadastro
              KeyField = 'LOC_CODIGO'
              ListField = 'LOC_DESCRICAO'
              ListSource = DSLocal
              ParentCtl3D = False
              TabOrder = 4
              OnKeyDown = DBLCBFornecedorKeyDown
            end
            object DBLCBFornecedor: TDBLookupComboBox
              Left = 4
              Top = 135
              Width = 623
              Height = 22
              Ctl3D = False
              DataField = 'NF_FORNECEDOR'
              DataSource = dsCadastro
              KeyField = 'FORN_CODIGO'
              ListField = 'FORN_RAZAO'
              ListSource = DSFornecedor
              ParentCtl3D = False
              TabOrder = 6
              OnKeyDown = DBLCBFornecedorKeyDown
            end
            object DBRGSituacaoPedido: TDBRadioGroup
              Left = 85
              Top = 6
              Width = 492
              Height = 46
              Caption = '  Situa'#231#227'o  '
              Columns = 4
              Ctl3D = False
              DataField = 'NF_SITUACAO'
              DataSource = dsCadastro
              Enabled = False
              Items.Strings = (
                'N'#227'o Atualizada'
                'Atualizada'
                'Com Diferen'#231'a'
                'Pre-Nota')
              ParentCtl3D = False
              ReadOnly = True
              TabOrder = 1
              Values.Strings = (
                '0'
                '1'
                '2'
                '3')
            end
            object GBDadosNota: TGroupBox
              Left = 346
              Top = 55
              Width = 235
              Height = 52
              Caption = '  Nota Fiscal  '
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 5
              object Label41: TLabel
                Left = 11
                Top = 21
                Width = 45
                Height = 16
                Caption = 'N'#250'mero'
              end
              object Label42: TLabel
                Left = 150
                Top = 21
                Width = 34
                Height = 16
                Caption = 'S'#233'rie '
              end
              object DBENotaFiscal: TDBEdit
                Left = 64
                Top = 21
                Width = 82
                Height = 22
                Ctl3D = False
                DataField = 'NF_NOTAFISCAL'
                DataSource = dsCadastro
                ParentCtl3D = False
                TabOrder = 0
                OnKeyPress = DBENotaFiscalKeyPress
              end
              object DBESerie: TDBEdit
                Left = 187
                Top = 21
                Width = 42
                Height = 22
                Ctl3D = False
                DataField = 'NF_Serie'
                DataSource = dsCadastro
                ParentCtl3D = False
                TabOrder = 1
              end
            end
            object GBCFOP: TGroupBox
              Left = 4
              Top = 239
              Width = 815
              Height = 68
              Caption = '  CFOP  '
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 8
              object Label4: TLabel
                Left = 11
                Top = 16
                Width = 66
                Height = 16
                Caption = 'Nota Fiscal'
              end
              object Label5: TLabel
                Left = 415
                Top = 16
                Width = 65
                Height = 16
                Caption = 'Livro Fiscal'
              end
              object DBLCBCFOPNF: TDBLookupComboBox
                Left = 11
                Top = 33
                Width = 388
                Height = 22
                Ctl3D = False
                DataField = 'NF_CFOPNF'
                DataSource = dsCadastro
                KeyField = 'CFOP_CODIGO'
                ListField = 'DESCRICAO'
                ListSource = DSCFOPNF
                ParentCtl3D = False
                ParentShowHint = False
                ShowHint = True
                TabOrder = 0
                OnExit = DBLCBCFOPNFExit
                OnKeyDown = DBLCBFornecedorKeyDown
                OnKeyUp = DBLCBCFOPNFKeyUp
                OnMouseMove = DBLCBCFOPNFMouseMove
              end
              object DBLCBCFOPLF: TDBLookupComboBox
                Left = 413
                Top = 33
                Width = 388
                Height = 22
                Ctl3D = False
                DataField = 'NF_CFOPLF'
                DataSource = dsCadastro
                KeyField = 'CFOP_CODIGO'
                ListField = 'DESCRICAO'
                ListSource = DSCFOPLF
                ParentCtl3D = False
                ParentShowHint = False
                ShowHint = True
                TabOrder = 1
                OnExit = DBLCBCFOPLFExit
                OnKeyDown = DBLCBFornecedorKeyDown
                OnKeyUp = DBLCBCFOPNFKeyUp
                OnMouseMove = DBLCBCFOPNFMouseMove
              end
            end
            object GBData: TGroupBox
              Left = 4
              Top = 163
              Width = 254
              Height = 68
              Caption = '  Data  '
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 7
              object Label10: TLabel
                Left = 127
                Top = 16
                Width = 54
                Height = 16
                Caption = 'Recebido'
              end
              object Label11: TLabel
                Left = 5
                Top = 16
                Width = 51
                Height = 16
                Caption = 'Emiss'#227'o'
              end
              object DBDEDataEmissao: TDBDateEdit
                Left = 5
                Top = 33
                Width = 117
                Height = 26
                DataField = 'NF_DATAEMISSAO'
                DataSource = dsCadastro
                Ctl3D = False
                ButtonWidth = 26
                NumGlyphs = 2
                ParentCtl3D = False
                TabOrder = 0
                OnEnter = DBDEDataEmissaoEnter
              end
              object DBDEDataEstoque: TDBDateEdit
                Left = 127
                Top = 33
                Width = 116
                Height = 26
                DataField = 'NF_DATAESTOQUE'
                DataSource = dsCadastro
                Ctl3D = False
                ButtonWidth = 26
                NumGlyphs = 2
                ParentCtl3D = False
                TabOrder = 1
                OnEnter = DBDEDataEstoqueEnter
              end
            end
            object edCodigo: TDBEdit
              Left = 4
              Top = 24
              Width = 69
              Height = 22
              Ctl3D = False
              DataField = 'NF_CODIGO'
              DataSource = dsCadastro
              ParentCtl3D = False
              ReadOnly = True
              TabOrder = 0
            end
            object DBEdit3: TDBEdit
              Left = 307
              Top = 215
              Width = 320
              Height = 22
              Ctl3D = False
              DataField = 'NF_CHAVE_DE_ACESSO'
              DataSource = dsCadastro
              ParentCtl3D = False
              TabOrder = 9
            end
            object DBMoledo: TDBLookupComboBox
              Left = 307
              Top = 175
              Width = 320
              Height = 22
              Ctl3D = False
              DataField = 'NF_MODELO'
              DataSource = dsCadastro
              KeyField = 'MOD_CODIGO'
              ListField = 'MOD_DESC'
              ListSource = DSModelo
              ParentCtl3D = False
              TabOrder = 10
              OnKeyDown = DBMoledoKeyDown
            end
          end
          object TSItensNota: TTabSheet
            Caption = 'Itens'
            ImageIndex = 2
            object Label27: TLabel
              Left = 263
              Top = 89
              Width = 78
              Height = 16
              Caption = 'Valor Unit'#225'rio'
            end
            object Label32: TLabel
              Left = 257
              Top = 37
              Width = 85
              Height = 16
              Caption = 'Descri'#231#227'o (F8)'
            end
            object Label33: TLabel
              Left = 129
              Top = 89
              Width = 36
              Height = 16
              Caption = 'CFOP'
            end
            object Label35: TLabel
              Left = 191
              Top = 89
              Width = 66
              Height = 16
              Caption = 'Quantidade'
            end
            object Label36: TLabel
              Left = 441
              Top = 89
              Width = 55
              Height = 16
              Caption = 'Desconto'
            end
            object Label37: TLabel
              Left = 619
              Top = 89
              Width = 48
              Height = 16
              Caption = '% ICMS'
            end
            object Label38: TLabel
              Left = 673
              Top = 89
              Width = 31
              Height = 16
              Caption = '% IPI'
            end
            object Label26: TLabel
              Left = 86
              Top = 37
              Width = 67
              Height = 16
              Caption = 'C'#243'digo (F8)'
            end
            object Label43: TLabel
              Left = 352
              Top = 89
              Width = 62
              Height = 16
              Caption = 'Valor Total'
            end
            object Label44: TLabel
              Left = 727
              Top = 89
              Width = 49
              Height = 16
              Caption = 'Valor IPI'
            end
            object Label31: TLabel
              Left = 4
              Top = 37
              Width = 67
              Height = 16
              Caption = 'Pedido (F8)'
              FocusControl = DBEPedido
            end
            object Label3: TLabel
              Left = 167
              Top = 37
              Width = 61
              Height = 16
              Caption = 'Refer'#234'ncia'
              Font.Charset = ANSI_CHARSET
              Font.Color = clWindowText
              Font.Height = -13
              Font.Name = 'Arial'
              Font.Style = []
              ParentFont = False
            end
            object Label39: TLabel
              Left = 4
              Top = 168
              Width = 68
              Height = 16
              Caption = 'Observa'#231#227'o'
            end
            object Label50: TLabel
              Left = 785
              Top = 37
              Width = 30
              Height = 16
              Caption = 'Unid.'
            end
            object Label34: TLabel
              Left = 4
              Top = 89
              Width = 29
              Height = 16
              Caption = 'NCM'
            end
            object Label51: TLabel
              Left = 93
              Top = 89
              Width = 25
              Height = 16
              Caption = 'CST'
            end
            object Label52: TLabel
              Left = 530
              Top = 89
              Width = 66
              Height = 16
              Caption = 'Base ICMS'
            end
            object Label53: TLabel
              Left = 530
              Top = 131
              Width = 83
              Height = 16
              Caption = 'Base ICMS St'
            end
            object Label54: TLabel
              Left = 619
              Top = 131
              Width = 40
              Height = 16
              Caption = '  % ST'
            end
            object DBLCBProduto: TDBLookupComboBox
              Left = 258
              Top = 54
              Width = 522
              Height = 22
              Hint = '(F7) Todos - (F8) Fornecedor'
              Ctl3D = False
              DataField = 'ITENS_NF_PRODUTO'
              DataSource = dsItensNF
              KeyField = 'PROD_CODIGO'
              ListField = 'PROD_DESCRICAOENT'
              ListSource = DSProduto
              ParentCtl3D = False
              ParentShowHint = False
              ShowHint = True
              TabOrder = 3
              OnExit = DBLCBProdutoExit
              OnKeyDown = DBLCBContaKeyDown
            end
            object DBLCBCFOPLivroFiscalProduto: TDBLookupComboBox
              Left = 129
              Top = 106
              Width = 57
              Height = 22
              Ctl3D = False
              DataField = 'ITENS_NF_CFOPLF'
              DataSource = dsItensNF
              KeyField = 'CFOP_CODIGO'
              ListField = 'CFOP_CODIGOFISCAL'
              ListSource = DSCFOPLF
              ParentCtl3D = False
              TabOrder = 22
              OnKeyDown = DBLCBContaKeyDown
              OnKeyUp = DBLCBCFOPNFKeyUp
              OnMouseMove = DBLCBCFOPNFMouseMove
            end
            object DBPedido: TDBEdit
              Left = 4
              Top = 54
              Width = 75
              Height = 22
              Ctl3D = False
              DataField = 'ITENS_NF_PEDIDO'
              DataSource = dsItensNF
              ParentCtl3D = False
              TabOrder = 0
              OnExit = DBPedidoExit
              OnKeyDown = DBPedidoKeyDown
            end
            object DBCodProduto: TDBEdit
              Left = 86
              Top = 54
              Width = 75
              Height = 22
              Ctl3D = False
              DataField = 'ITENS_NF_PRODUTO'
              DataSource = dsItensNF
              ParentCtl3D = False
              TabOrder = 1
              OnExit = DBCodProdutoExit
              OnKeyDown = DBCodProdutoKeyDown
            end
            object RxDBCQtd: TRxDBCalcEdit
              Left = 191
              Top = 106
              Width = 66
              Height = 22
              DataField = 'ITENS_NF_QUANTIDADE'
              DataSource = dsItensNF
              Ctl3D = False
              DecimalPlaces = 4
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 7
            end
            object RxDBCValorUnitario: TRxDBCalcEdit
              Left = 263
              Top = 106
              Width = 83
              Height = 22
              DataField = 'ITENS_NF_VALORUNITARIO'
              DataSource = dsItensNF
              Ctl3D = False
              DecimalPlaces = 4
              DisplayFormat = '0.,0000'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 8
            end
            object RxDBCValorTotal: TRxDBCalcEdit
              Left = 352
              Top = 106
              Width = 84
              Height = 22
              DataField = 'ITENS_NF_VALORTOTAL'
              DataSource = dsItensNF
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 9
              OnEnter = RxDBCValorTotalEnter
              OnExit = RxDBCValorTotalExit
            end
            object RxDBDesconto: TRxDBCalcEdit
              Left = 441
              Top = 106
              Width = 84
              Height = 22
              DataField = 'ITENS_NF_DESCONTO'
              DataSource = dsItensNF
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 10
            end
            object RxDBPercICMS: TRxDBCalcEdit
              Left = 619
              Top = 106
              Width = 49
              Height = 22
              DataField = 'ITENS_NF_PERICMS'
              DataSource = dsItensNF
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 12
            end
            object RxDBPercIPI: TRxDBCalcEdit
              Left = 673
              Top = 106
              Width = 49
              Height = 22
              DataField = 'ITENS_NF_PERIPI'
              DataSource = dsItensNF
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 13
            end
            object RxDBValorIPI: TRxDBCalcEdit
              Left = 727
              Top = 106
              Width = 95
              Height = 22
              DataField = 'ITENS_NF_VALORIPI'
              DataSource = dsItensNF
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 14
              OnEnter = RxDBValorIPIEnter
            end
            object DBREncerrarItem: TDBRadioGroup
              Left = 712
              Top = 132
              Width = 116
              Height = 46
              Caption = '  Encerrar Item ?  '
              Columns = 2
              Ctl3D = False
              DataField = 'ITENS_NF_ENCERRAITEMPEDIDO'
              DataSource = dsItensNF
              Items.Strings = (
                'Sim'
                'N'#227'o')
              ParentCtl3D = False
              TabOrder = 15
              Values.Strings = (
                'S'
                'N')
            end
            object Panel4: TPanel
              Left = 0
              Top = 0
              Width = 834
              Height = 33
              TabOrder = 17
              object BitInseriItem: TBitBtn
                Tag = 10
                Left = 3
                Top = 5
                Width = 80
                Height = 23
                Caption = '&Incluir'
                TabOrder = 0
                OnClick = BitInseriItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0033333333B333
                  333B33FF33337F3333F73BB3777BB7777BB3377FFFF77FFFF77333B000000000
                  0B3333777777777777333330FFFFFFFF07333337F33333337F333330FFFFFFFF
                  07333337F3FF3FFF7F333330F00F000F07333337F77377737F333330FFFFFFFF
                  07333FF7F3FFFF3F7FFFBBB0F0000F0F0BB37777F7777373777F3BB0FFFFFFFF
                  0BBB3777F3FF3FFF77773330F00F000003333337F773777773333330FFFF0FF0
                  33333337F3FF7F37F3333330F08F0F0B33333337F7737F77FF333330FFFF003B
                  B3333337FFFF77377FF333B000000333BB33337777777F3377FF3BB3333BB333
                  3BB33773333773333773B333333B3333333B7333333733333337}
                NumGlyphs = 2
              end
              object BitEditarItem: TBitBtn
                Tag = 10
                Left = 90
                Top = 5
                Width = 80
                Height = 23
                Caption = '&Editar'
                TabOrder = 1
                OnClick = BitEditarItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000120B0000120B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333000000
                  000033333377777777773333330FFFFFFFF03FF3FF7FF33F3FF700300000FF0F
                  00F077F777773F737737E00BFBFB0FFFFFF07773333F7F3333F7E0BFBF000FFF
                  F0F077F3337773F3F737E0FBFBFBF0F00FF077F3333FF7F77F37E0BFBF00000B
                  0FF077F3337777737337E0FBFBFBFBF0FFF077F33FFFFFF73337E0BF0000000F
                  FFF077FF777777733FF7000BFB00B0FF00F07773FF77373377373330000B0FFF
                  FFF03337777373333FF7333330B0FFFF00003333373733FF777733330B0FF00F
                  0FF03333737F37737F373330B00FFFFF0F033337F77F33337F733309030FFFFF
                  00333377737FFFFF773333303300000003333337337777777333}
                NumGlyphs = 2
              end
              object BitExcluirItem: TBitBtn
                Tag = 10
                Left = 177
                Top = 5
                Width = 80
                Height = 23
                Caption = '&Excluir'
                TabOrder = 2
                OnClick = BitExcluirItemClick
                Glyph.Data = {
                  B2050000424DB205000000000000360400002800000012000000130000000100
                  0800000000007C010000C30E0000C30E00000001000000000000000000007B00
                  0000BD000000FF0000007B7B000000FF0000FFFF000000315A0008427300084A
                  730000007B007B007B00084A7B0008527B0021527B00007B7B007B7B7B00004A
                  840008528400105284002963840008528C00085A8C00185A8C0018638C002963
                  8C0008529400185A9400296B9400316B94002973940031739400085A9C001863
                  9C0018739C0029739C0031739C0031849C00005AA5002173A5003973A500297B
                  A500186BAD00106BB500317BB5002984B5004A8CB500086BBD000073BD001073
                  BD001873BD00217BBD004284BD00318CBD004A8CBD005294BD005A9CBD00BDBD
                  BD001073C600007BC600217BC600428CC6004A8CC6005A9CC6000084CE000884
                  CE00398CCE005A9CCE00639CCE001884D6002184D600088CD600108CD6004294
                  D600399CD6004A9CD600529CD6005A9CD6005AA5D60063ADD6001884DE002184
                  DE00188CDE001094DE001894DE003194DE00299CDE004AA5DE005AA5DE004AB5
                  DE00189CE700219CE700429CE7005AA5E7005AADE70063ADE7006BB5E70021A5
                  EF0029A5EF0031A5EF0063B5EF006BBDEF0029ADF70031ADF7006BBDF7000000
                  FF00FF00FF0031B5FF0039B5FF0042B5FF0039BDFF0042BDFF0042C6FF004AC6
                  FF006BC6FF004ACEFF0052CEFF0052D6FF005ADEFF0063E7FF0000FFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
                  FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00393939393939
                  3939393939393939393939690000396939393939393939393939393939396939
                  0000396969393910101010101010101010693939000039696969000000000000
                  0000000069693939000039396969007879797978797979696939393900003939
                  3969697903030303030379691039393900003939396969697978797979786969
                  1039393900003939393969696903030369696900103939390000393939390069
                  6969797869697900103939390000393939390079036969696903790010393939
                  0000393939390079796969696978790010393939000039393939007903696969
                  6900000010393939000039393939007869697900696979001039393900003939
                  3939006969697900696969693939393900003939396969697978790079003969
                  6939393900003969696969000000000000393939696939390000396969693939
                  3939393939393939393969390000393939393939393939393939393939393969
                  00003939393939393939393939393939393939390000}
              end
              object DBNavigator2: TDBNavigator
                Tag = 11
                Left = 728
                Top = 5
                Width = 80
                Height = 23
                DataSource = dsItensNF
                VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast]
                TabOrder = 3
              end
              object stItens: TStaticText
                Left = 603
                Top = 9
                Width = 117
                Height = 20
                Alignment = taRightJustify
                Caption = ' Reg: 10000/10000 '
                TabOrder = 4
              end
            end
            object Panel6: TPanel
              Left = 0
              Top = 183
              Width = 834
              Height = 33
              Align = alBottom
              TabOrder = 16
              object BitSalvarItem: TBitBtn
                Tag = 10
                Left = 656
                Top = 5
                Width = 80
                Height = 23
                Caption = '&Salvar'
                TabOrder = 0
                OnClick = BitSalvarItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333330070
                  7700333333337777777733333333008088003333333377F73377333333330088
                  88003333333377FFFF7733333333000000003FFFFFFF77777777000000000000
                  000077777777777777770FFFFFFF0FFFFFF07F3333337F3333370FFFFFFF0FFF
                  FFF07F3FF3FF7FFFFFF70F00F0080CCC9CC07F773773777777770FFFFFFFF039
                  99337F3FFFF3F7F777F30F0000F0F09999937F7777373777777F0FFFFFFFF999
                  99997F3FF3FFF77777770F00F000003999337F773777773777F30FFFF0FF0339
                  99337F3FF7F3733777F30F08F0F0337999337F7737F73F7777330FFFF0039999
                  93337FFFF7737777733300000033333333337777773333333333}
                NumGlyphs = 2
              end
              object BitCancelarItem: TBitBtn
                Tag = 10
                Left = 742
                Top = 5
                Width = 80
                Height = 23
                Caption = '&Cancelar'
                TabOrder = 1
                OnClick = BitCancelarItemClick
                Glyph.Data = {
                  76010000424D7601000000000000760000002800000020000000100000000100
                  04000000000000010000130B0000130B00001000000000000000000000000000
                  800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                  FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
                  3333333333FFFFF3333333333999993333333333F77777FFF333333999999999
                  33333337777FF377FF3333993370739993333377FF373F377FF3399993000339
                  993337777F777F3377F3393999707333993337F77737333337FF993399933333
                  399377F3777FF333377F993339903333399377F33737FF33377F993333707333
                  399377F333377FF3377F993333101933399377F333777FFF377F993333000993
                  399377FF3377737FF7733993330009993933373FF3777377F7F3399933000399
                  99333773FF777F777733339993707339933333773FF7FFF77333333999999999
                  3333333777333777333333333999993333333333377777333333}
                NumGlyphs = 2
              end
            end
            object DBGrid1: TDBGrid
              Tag = 3
              Left = 0
              Top = 216
              Width = 834
              Height = 113
              Align = alBottom
              DataSource = dsItensNF
              Options = [dgTitles, dgIndicator, dgColumnResize, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
              TabOrder = 18
              TitleFont.Charset = ANSI_CHARSET
              TitleFont.Color = clWindowText
              TitleFont.Height = -13
              TitleFont.Name = 'Arial'
              TitleFont.Style = []
              Columns = <
                item
                  Expanded = False
                  FieldName = 'ITENS_NF_PRODUTO'
                  Title.Alignment = taCenter
                  Width = 50
                  Visible = True
                end
                item
                  Expanded = False
                  FieldName = 'ITENS_NF_PROD_DESC'
                  Width = 400
                  Visible = True
                end
                item
                  Alignment = taCenter
                  Expanded = False
                  FieldName = 'ITENS_NF_QUANTIDADE'
                  Title.Alignment = taCenter
                  Visible = True
                end
                item
                  Expanded = False
                  FieldName = 'ITENS_NF_VALORUNITARIO'
                  Visible = True
                end>
            end
            object EdRefProduto: TEdit
              Tag = 5
              Left = 167
              Top = 54
              Width = 84
              Height = 22
              Ctl3D = False
              ParentCtl3D = False
              TabOrder = 2
              OnExit = EReferenciaProdutoExit
            end
            object DBEdit1: TDBEdit
              Left = 4
              Top = 187
              Width = 638
              Height = 22
              CharCase = ecLowerCase
              Ctl3D = False
              DataField = 'ITENS_NF_OBS'
              DataSource = dsItensNF
              ParentCtl3D = False
              TabOrder = 19
            end
            object DBEdit2: TDBEdit
              Left = 784
              Top = 54
              Width = 47
              Height = 22
              Ctl3D = False
              DataField = 'ITENS_NF_UNIDADE'
              DataSource = dsItensNF
              ParentCtl3D = False
              TabOrder = 4
            end
            object DBEdit_Ncm: TDBEdit
              Left = 4
              Top = 106
              Width = 85
              Height = 22
              Ctl3D = False
              DataField = 'ITENS_NF_NCM'
              DataSource = dsItensNF
              ParentCtl3D = False
              TabOrder = 5
            end
            object DBEdit_Cst: TDBEdit
              Left = 93
              Top = 106
              Width = 31
              Height = 22
              Ctl3D = False
              DataField = 'ITENS_NF_CST'
              DataSource = dsItensNF
              ParentCtl3D = False
              TabOrder = 6
            end
            object DBEdit5: TDBEdit
              Left = 530
              Top = 106
              Width = 84
              Height = 22
              Ctl3D = False
              DataField = 'ITENS_NF_BASE_ICMS'
              DataSource = dsItensNF
              ParentCtl3D = False
              TabOrder = 11
            end
            object DBEdit6: TDBEdit
              Left = 530
              Top = 148
              Width = 84
              Height = 22
              Ctl3D = False
              DataField = 'ITENS_NF_BASE_ICMS_ST'
              DataSource = dsItensNF
              ParentCtl3D = False
              TabOrder = 20
            end
            object RxDBCalcEdit2: TRxDBCalcEdit
              Left = 619
              Top = 148
              Width = 49
              Height = 22
              DataField = 'ITENS_NF_PERICMS_ST'
              DataSource = dsItensNF
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 21
            end
            object DBRadioGroup1: TDBRadioGroup
              Left = 4
              Top = 131
              Width = 133
              Height = 34
              Caption = '  Cr'#233'dito Pis/Cofins  '
              Columns = 2
              Ctl3D = False
              DataField = 'ITENSNF_INDCRED_PIS'
              DataSource = dsItensNF
              Items.Strings = (
                'Sim'
                'N'#227'o')
              ParentCtl3D = False
              TabOrder = 23
              Values.Strings = (
                '1'
                '0')
            end
          end
          object TSValores: TTabSheet
            Caption = 'Valores'
            ImageIndex = 3
            object Label12: TLabel
              Left = 4
              Top = 51
              Width = 90
              Height = 16
              Caption = 'Base ICMS Nor'
            end
            object Label13: TLabel
              Left = 113
              Top = 51
              Width = 77
              Height = 16
              Caption = 'ICMS Normal'
            end
            object Label14: TLabel
              Left = 223
              Top = 51
              Width = 93
              Height = 16
              Caption = 'Base ICMS Sub'
            end
            object Label15: TLabel
              Left = 332
              Top = 51
              Width = 95
              Height = 16
              Caption = 'ICMS Substituto'
            end
            object Label18: TLabel
              Left = 4
              Top = 102
              Width = 30
              Height = 16
              Caption = 'Frete'
            end
            object Label19: TLabel
              Left = 113
              Top = 102
              Width = 41
              Height = 16
              Caption = 'Seguro'
            end
            object Label20: TLabel
              Left = 222
              Top = 102
              Width = 101
              Height = 16
              Caption = 'Outros Despesas'
            end
            object Label21: TLabel
              Left = 334
              Top = 102
              Width = 65
              Height = 16
              Caption = 'Total do IPI'
            end
            object Label22: TLabel
              Left = 442
              Top = 102
              Width = 98
              Height = 16
              Caption = 'Total Nota Fiscal'
            end
            object Label8: TLabel
              Left = 441
              Top = 3
              Width = 55
              Height = 16
              Caption = 'Desconto'
            end
            object Label9: TLabel
              Left = 441
              Top = 51
              Width = 85
              Height = 16
              Caption = 'Total dos Itens'
            end
            object Label1: TLabel
              Left = 332
              Top = 3
              Width = 90
              Height = 16
              Caption = 'Itens S/ Descto'
            end
            object DBRGFrete: TDBRadioGroup
              Left = 4
              Top = 146
              Width = 98
              Height = 63
              Caption = '  Frete  '
              Ctl3D = False
              DataField = 'NF_TEMFRETE'
              DataSource = dsCadastro
              Items.Strings = (
                'Dentro'
                'Fora')
              ParentCtl3D = False
              TabOrder = 1
              Values.Strings = (
                '1'
                '2')
            end
            object RxDBBaseICMSNormal: TRxDBCalcEdit
              Left = 4
              Top = 68
              Width = 98
              Height = 24
              DataField = 'NF_BASEICMSNORM'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 2
            end
            object RxDBValorICMSNormal: TRxDBCalcEdit
              Left = 113
              Top = 68
              Width = 99
              Height = 24
              DataField = 'NF_VALORICMSNORM'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 3
            end
            object RxDBBaseICMSSub: TRxDBCalcEdit
              Left = 223
              Top = 68
              Width = 98
              Height = 24
              DataField = 'NF_BASEICMSSUB'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 4
            end
            object RxDBValorICMSSub: TRxDBCalcEdit
              Left = 332
              Top = 68
              Width = 99
              Height = 24
              DataField = 'NF_VALORICMSSUB'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 5
              OnExit = RxDBValorICMSSubExit
            end
            object RxDBValorTotalItens: TRxDBCalcEdit
              Left = 441
              Top = 68
              Width = 98
              Height = 24
              DataField = 'NF_TOTALITENS'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 6
            end
            object RxDBValorFrete: TRxDBCalcEdit
              Left = 4
              Top = 118
              Width = 98
              Height = 23
              DataField = 'NF_VALORFRETE'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 7
              OnExit = RxDBValorFreteExit
            end
            object RxDBValorSeguro: TRxDBCalcEdit
              Left = 113
              Top = 118
              Width = 99
              Height = 23
              DataField = 'NF_VALORSEGURO'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 8
              OnExit = RxDBValorSeguroExit
            end
            object RxDBValorOutros: TRxDBCalcEdit
              Left = 223
              Top = 118
              Width = 98
              Height = 23
              DataField = 'NF_VALOROUTROS'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 9
              OnExit = RxDBValorOutrosExit
            end
            object RxDBValorTotalIPI: TRxDBCalcEdit
              Left = 332
              Top = 118
              Width = 99
              Height = 23
              DataField = 'NF_VALORTOTALIPI'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 10
              OnExit = RxDBValorTotalIPIExit
            end
            object RxDBValorNotaFiscal: TRxDBCalcEdit
              Left = 441
              Top = 118
              Width = 98
              Height = 23
              DataField = 'NF_VALORNF'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 11
              OnExit = RxDBValorNotaFiscalExit
            end
            object RxDBValorDesconto: TRxDBCalcEdit
              Left = 441
              Top = 18
              Width = 98
              Height = 23
              DataField = 'NF_VALORDESCONTO'
              DataSource = dsCadastro
              Ctl3D = False
              DisplayFormat = '0.,00'
              ButtonWidth = 0
              NumGlyphs = 2
              ParentCtl3D = False
              TabOrder = 0
              OnExit = RxDBValorDescontoExit
            end
            object edItensSDescto: TCurrencyEdit
              Left = 332
              Top = 18
              Width = 99
              Height = 23
              TabStop = False
              AutoSize = False
              Ctl3D = False
              DisplayFormat = '#,##0.00'
              ParentCtl3D = False
              ReadOnly = True
              TabOrder = 12
            end
          end
          object TSContasPagar: TTabSheet
            Caption = 'Contas a Pagar'
            ImageIndex = 1
            object PCContasPagar: TPageControl
              Left = 0
              Top = 0
              Width = 834
              Height = 329
              ActivePage = TabSheet2
              Align = alClient
              TabOrder = 0
              object TabSheet1: TTabSheet
                Caption = 'Pagamento'
                object Label16: TLabel
                  Left = 172
                  Top = 5
                  Width = 63
                  Height = 16
                  AutoSize = False
                  Caption = 'Valor Total'
                end
                object Label17: TLabel
                  Left = 172
                  Top = 31
                  Width = 132
                  Height = 16
                  Caption = 'Quantidade de Faturas'
                end
                object Label28: TLabel
                  Left = 172
                  Top = 57
                  Width = 97
                  Height = 16
                  Caption = 'Dias p/ 1'#170' Fatura'
                end
                object Label29: TLabel
                  Left = 172
                  Top = 82
                  Width = 101
                  Height = 16
                  Caption = 'Data da 1'#170' Fatura'
                end
                object Label30: TLabel
                  Left = 172
                  Top = 134
                  Width = 164
                  Height = 16
                  Caption = 'Dias p/ Pr'#243'xima(s) Fatura(s)'
                end
                object Label40: TLabel
                  Left = 172
                  Top = 160
                  Width = 104
                  Height = 16
                  Caption = 'Valor da 1'#170' Fatura'
                end
                object Label45: TLabel
                  Left = 172
                  Top = 186
                  Width = 178
                  Height = 16
                  Caption = 'Valor da(s) Pr'#243'ximas Fatura(s)'
                end
                object Label46: TLabel
                  Left = 172
                  Top = 108
                  Width = 61
                  Height = 16
                  Caption = 'Fixar dia ?'
                end
                object RxDBCalcEdit1: TRxDBCalcEdit
                  Left = 370
                  Top = 5
                  Width = 94
                  Height = 23
                  DataField = 'NF_VALOR_TOTAL_PAGAMENTO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 0
                end
                object RxDBCQtdFat: TRxDBCalcEdit
                  Left = 370
                  Top = 31
                  Width = 56
                  Height = 23
                  DataField = 'NF_QTD_FATURAS_PAGAMENTO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 1
                  OnExit = RxDBCQtdFatExit
                end
                object RxDBCDiasPPrimeiraFat: TRxDBCalcEdit
                  Left = 370
                  Top = 57
                  Width = 56
                  Height = 23
                  DataField = 'NF_QTD_DIAS_PRIMEIRA_FAT_PAGAME'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 2
                  OnExit = RxDBCDiasPPrimeiraFatExit
                end
                object DBDDataPPrimeiraFat: TDBDateEdit
                  Left = 370
                  Top = 82
                  Width = 115
                  Height = 24
                  DataField = 'NF_DATA_PRIMEIRA_FAT_PAGAMENTO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  ButtonWidth = 22
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 3
                end
                object RxDBCDiasProxFat: TRxDBCalcEdit
                  Left = 370
                  Top = 134
                  Width = 56
                  Height = 24
                  DataField = 'NF_QTD_DIAS_PROXIMA_FAT_PAGAMEN'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 4
                end
                object RxDBCValorPrimeiraFat: TRxDBCalcEdit
                  Left = 370
                  Top = 160
                  Width = 94
                  Height = 23
                  DataField = 'NF_VALOR_PRIMEIRA_FAT_PAGAMENTO'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 5
                  OnEnter = RxDBCValorPrimeiraFatEnter
                  OnExit = RxDBCValorPrimeiraFatExit
                end
                object RxDBCValorPRoximasFat: TRxDBCalcEdit
                  Left = 370
                  Top = 186
                  Width = 94
                  Height = 23
                  DataField = 'NF_VALOR_FATURAS_RESTANTES_PAGA'
                  DataSource = dsCadastro
                  Ctl3D = False
                  DisplayFormat = '0.,00'
                  ButtonWidth = 0
                  NumGlyphs = 2
                  ParentCtl3D = False
                  TabOrder = 6
                end
                object BitAjustarValor: TBitBtn
                  Tag = 1
                  Left = 485
                  Top = 160
                  Width = 86
                  Height = 49
                  Caption = 'Ajustar Valor'
                  TabOrder = 7
                  TabStop = False
                  OnClick = BitAjustarValorClick
                  NumGlyphs = 2
                end
                object CheckBSim: TCheckBox
                  Left = 370
                  Top = 108
                  Width = 53
                  Height = 21
                  Caption = 'Sim'
                  TabOrder = 8
                  OnClick = CheckBSimClick
                end
                object CheckBNao: TCheckBox
                  Left = 430
                  Top = 108
                  Width = 52
                  Height = 21
                  Caption = 'N'#227'o'
                  Checked = True
                  State = cbChecked
                  TabOrder = 9
                  OnClick = CheckBNaoClick
                end
                object DBCBGerarCAP: TDBCheckBox
                  Left = 10
                  Top = 5
                  Width = 151
                  Height = 21
                  Caption = 'Gerar Contas a Pagar'
                  DataField = 'NF_INDICACAO_GERA_CAP'
                  DataSource = dsCadastro
                  TabOrder = 10
                  ValueChecked = '1'
                  ValueUnchecked = '0'
                end
              end
              object TabSheet2: TTabSheet
                Caption = 'Classifica'#231#227'o'
                ImageIndex = 1
                object Label24: TLabel
                  Left = 5
                  Top = 106
                  Width = 168
                  Height = 16
                  Caption = 'Classifica'#231#227'o Financeira (F8)'
                end
                object Label47: TLabel
                  Left = 5
                  Top = 4
                  Width = 112
                  Height = 16
                  Caption = 'Tipo de Documento'
                end
                object Label48: TLabel
                  Left = 256
                  Top = 4
                  Width = 49
                  Height = 16
                  Caption = 'Portador'
                end
                object Label49: TLabel
                  Left = 6
                  Top = 55
                  Width = 94
                  Height = 16
                  Caption = 'Centro de Custo'
                end
                object DBLCBPlanocontas: TDBLookupComboBox
                  Left = 5
                  Top = 126
                  Width = 492
                  Height = 22
                  Ctl3D = False
                  DataField = 'NF_PLANOCONTAS'
                  DataSource = dsCadastro
                  KeyField = 'CODIGO'
                  ListField = 'DESCRICAO'
                  ListSource = DSPlanosaida
                  ParentCtl3D = False
                  TabOrder = 3
                  OnKeyDown = DBLCBTipoDocumentoKeyDown
                end
                object DBLCBTipoDocumento: TDBLookupComboBox
                  Left = 5
                  Top = 21
                  Width = 240
                  Height = 22
                  Ctl3D = False
                  DataField = 'NF_TIPO_DOCUMENTO'
                  DataSource = dsCadastro
                  KeyField = 'TIPO_DOC_CODIGO'
                  ListField = 'TIPO_DOC_DESCRICAO'
                  ListSource = DSTipoDocumento
                  ParentCtl3D = False
                  TabOrder = 0
                  OnKeyDown = DBLCBTipoDocumentoKeyDown
                end
                object DBLCBPortador: TDBLookupComboBox
                  Left = 257
                  Top = 21
                  Width = 240
                  Height = 22
                  Ctl3D = False
                  DataField = 'NF_PORTADOR'
                  DataSource = dsCadastro
                  KeyField = 'PORT_CODIGO'
                  ListField = 'PORT_DESCRICAO'
                  ListSource = DSPortador
                  ParentCtl3D = False
                  TabOrder = 1
                  OnKeyDown = DBLCBTipoDocumentoKeyDown
                end
                object DBLCBCentroCusto: TDBLookupComboBox
                  Left = 5
                  Top = 74
                  Width = 492
                  Height = 22
                  Ctl3D = False
                  DataField = 'NF_CENTRO_CUSTO'
                  DataSource = dsCadastro
                  KeyField = 'CODIGO'
                  ListField = 'DESCRICAO'
                  ListSource = dsCentroCusto
                  ParentCtl3D = False
                  TabOrder = 2
                  OnKeyDown = DBLCBTipoDocumentoKeyDown
                end
              end
            end
          end
        end
      end
    end
    inherited tsUsuario: TTabSheet
      object GroupBox2: TGroupBox
        Left = 1
        Top = 171
        Width = 210
        Height = 129
        Caption = '  Atualiza'#231#227'o  '
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 4
        object lbAtualizacaoUsuario: TLabel
          Left = 16
          Top = 32
          Width = 84
          Height = 16
          Caption = 'Usu'#225'rio:  LINK'
        end
        object lbAtualizacaoData: TLabel
          Left = 16
          Top = 56
          Width = 103
          Height = 16
          Caption = 'Data:  18/03/2008'
        end
        object lbAtualizacaoHora: TLabel
          Left = 16
          Top = 80
          Width = 71
          Height = 16
          Caption = 'Hora:  14:00'
        end
      end
      object GroupBox3: TGroupBox
        Left = 212
        Top = 171
        Width = 210
        Height = 129
        Caption = '  Desatualiza'#231#227'o  '
        Ctl3D = False
        ParentCtl3D = False
        TabOrder = 5
        object lbDesatualizacaoUsuario: TLabel
          Left = 16
          Top = 32
          Width = 84
          Height = 16
          Caption = 'Usu'#225'rio:  LINK'
        end
        object lbDesatualizacaoData: TLabel
          Left = 16
          Top = 56
          Width = 103
          Height = 16
          Caption = 'Data:  18/03/2008'
        end
        object lbDesatualizacaoHora: TLabel
          Left = 16
          Top = 80
          Width = 71
          Height = 16
          Caption = 'Hora:  14:00'
        end
      end
    end
  end
  inherited PopupMenu1: TPopupMenu
    Left = 432
    Top = 360
  end
  inherited dsCadastro: TDataSource
    Left = 120
    Top = 320
  end
  inherited QCadastro: TQuery
    SQL.Strings = (
      'Select * from NotaFiscal ')
    Left = 120
    Top = 360
  end
  inherited dspCadastro: TDataSetProvider
    Left = 120
    Top = 408
  end
  inherited cdsCadastro: TClientDataSet
    Left = 120
    Top = 448
    object cdsCadastroNF_CODIGO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'C'#243'digo'
      FieldName = 'NF_CODIGO'
    end
    object cdsCadastroNF_PEDIDO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'N'#186' Pedido'
      FieldName = 'NF_PEDIDO'
    end
    object cdsCadastroNF_NOTAFISCAL: TStringField
      Alignment = taCenter
      DisplayLabel = 'N'#186' Nota Fiscal'
      FieldName = 'NF_NOTAFISCAL'
      Size = 9
    end
    object cdsCadastroNF_SERIE: TStringField
      Alignment = taCenter
      DisplayLabel = 'S'#233'rie'
      FieldName = 'NF_SERIE'
      Size = 3
    end
    object cdsCadastroNF_CFOPNF: TIntegerField
      DisplayLabel = 'CFOP'
      FieldName = 'NF_CFOPNF'
    end
    object cdsCadastroNF_CFOPLF: TIntegerField
      DisplayLabel = 'CFOP Livro Fiscal'
      FieldName = 'NF_CFOPLF'
    end
    object cdsCadastroNF_LOCAL: TIntegerField
      DisplayLabel = 'Local Estoque'
      FieldName = 'NF_LOCAL'
    end
    object cdsCadastroNF_FORNECEDOR: TIntegerField
      DisplayLabel = 'Fornecedor'
      FieldName = 'NF_FORNECEDOR'
    end
    object cdsCadastroNF_ACEITADIF: TStringField
      FieldName = 'NF_ACEITADIF'
      Size = 6
    end
    object cdsCadastroNF_DATAEMISSAO: TDateTimeField
      Alignment = taCenter
      DisplayLabel = 'Emiss'#227'o'
      DisplayWidth = 14
      FieldName = 'NF_DATAEMISSAO'
    end
    object cdsCadastroNF_DATAESTOQUE: TDateTimeField
      Alignment = taCenter
      DisplayLabel = 'Entrada Estoque'
      DisplayWidth = 14
      FieldName = 'NF_DATAESTOQUE'
    end
    object cdsCadastroNF_VALORDESCONTO: TFloatField
      DisplayLabel = 'Desconto'
      FieldName = 'NF_VALORDESCONTO'
    end
    object cdsCadastroNF_BASEICMSNORM: TFloatField
      DisplayLabel = 'Base ICMS'
      FieldName = 'NF_BASEICMSNORM'
    end
    object cdsCadastroNF_VALORICMSNORM: TFloatField
      DisplayLabel = 'Vr. ICMS'
      FieldName = 'NF_VALORICMSNORM'
    end
    object cdsCadastroNF_BASEICMSSUB: TFloatField
      DisplayLabel = 'Base ICMS Subs.'
      FieldName = 'NF_BASEICMSSUB'
    end
    object cdsCadastroNF_VALORICMSSUB: TFloatField
      FieldName = 'NF_VALORICMSSUB'
    end
    object cdsCadastroNF_TOTALITENS: TFloatField
      DisplayLabel = 'Itens'
      FieldName = 'NF_TOTALITENS'
      DisplayFormat = '#,##0.00'
    end
    object cdsCadastroNF_TEMFRETE: TStringField
      FieldName = 'NF_TEMFRETE'
      Size = 1
    end
    object cdsCadastroNF_VALORFRETE: TFloatField
      FieldName = 'NF_VALORFRETE'
    end
    object cdsCadastroNF_VALORSEGURO: TFloatField
      FieldName = 'NF_VALORSEGURO'
    end
    object cdsCadastroNF_VALOROUTROS: TFloatField
      FieldName = 'NF_VALOROUTROS'
    end
    object cdsCadastroNF_VALORTOTALIPI: TFloatField
      FieldName = 'NF_VALORTOTALIPI'
    end
    object cdsCadastroNF_VALORNF: TFloatField
      DisplayLabel = 'Vr. Total Nota'
      FieldName = 'NF_VALORNF'
      DisplayFormat = '#,##0.00'
    end
    object cdsCadastroNF_GERACP: TStringField
      FieldName = 'NF_GERACP'
      Size = 6
    end
    object cdsCadastroNF_PLANOCONTAS: TIntegerField
      FieldName = 'NF_PLANOCONTAS'
    end
    object cdsCadastroCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
    end
    object cdsCadastroNF_BICMSOK: TStringField
      FieldName = 'NF_BICMSOK'
      Size = 6
    end
    object cdsCadastroNF_VICMSOK: TStringField
      FieldName = 'NF_VICMSOK'
      Size = 6
    end
    object cdsCadastroNF_VIPIOK: TStringField
      FieldName = 'NF_VIPIOK'
      Size = 6
    end
    object cdsCadastroNF_VNFOK: TStringField
      FieldName = 'NF_VNFOK'
      Size = 6
    end
    object cdsCadastroNF_SITUACAO: TIntegerField
      DisplayLabel = 'Situa'#231#227'o'
      FieldName = 'NF_SITUACAO'
    end
    object cdsCadastroNF_TIPO_DOCUMENTO: TIntegerField
      FieldName = 'NF_TIPO_DOCUMENTO'
    end
    object cdsCadastroNF_PORTADOR: TIntegerField
      FieldName = 'NF_PORTADOR'
    end
    object cdsCadastroNF_CENTRO_CUSTO: TIntegerField
      FieldName = 'NF_CENTRO_CUSTO'
    end
    object cdsCadastroNF_VALOR_TOTAL_PAGAMENTO: TFloatField
      FieldName = 'NF_VALOR_TOTAL_PAGAMENTO'
    end
    object cdsCadastroNF_QTD_FATURAS_PAGAMENTO: TIntegerField
      FieldName = 'NF_QTD_FATURAS_PAGAMENTO'
    end
    object cdsCadastroNF_QTD_DIAS_PRIMEIRA_FAT_PAGAME: TIntegerField
      FieldName = 'NF_QTD_DIAS_PRIMEIRA_FAT_PAGAME'
    end
    object cdsCadastroNF_DATA_PRIMEIRA_FAT_PAGAMENTO: TDateTimeField
      FieldName = 'NF_DATA_PRIMEIRA_FAT_PAGAMENTO'
    end
    object cdsCadastroNF_FIXAR_DIA_PAGAMENTO: TIntegerField
      FieldName = 'NF_FIXAR_DIA_PAGAMENTO'
    end
    object cdsCadastroNF_QTD_DIAS_PROXIMA_FAT_PAGAMEN: TIntegerField
      FieldName = 'NF_QTD_DIAS_PROXIMA_FAT_PAGAMEN'
    end
    object cdsCadastroNF_VALOR_PRIMEIRA_FAT_PAGAMENTO: TFloatField
      FieldName = 'NF_VALOR_PRIMEIRA_FAT_PAGAMENTO'
    end
    object cdsCadastroNF_VALOR_FATURAS_RESTANTES_PAGA: TFloatField
      FieldName = 'NF_VALOR_FATURAS_RESTANTES_PAGA'
    end
    object cdsCadastroNF_INDICACAO_GERA_CAP: TIntegerField
      FieldName = 'NF_INDICACAO_GERA_CAP'
    end
    object cdsCadastroUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
    end
    object cdsCadastroUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
    end
    object cdsCadastroUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
    end
    object cdsCadastroDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object cdsCadastroDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object cdsCadastroDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object cdsCadastroEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroUSUARIO: TStringField
      FieldName = 'USUARIO'
      Size = 10
    end
    object cdsCadastroDATAMODIFICACAO: TDateTimeField
      FieldName = 'DATAMODIFICACAO'
    end
    object cdsCadastroUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
    end
    object cdsCadastroDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
    end
    object cdsCadastroNF_FORNECEDOR_DESC: TStringField
      DisplayLabel = 'Fornecedor'
      FieldName = 'NF_FORNECEDOR_DESC'
      Size = 60
    end
    object cdsCadastroSITUACAO_DA_REPLICACAO: TStringField
      FieldName = 'SITUACAO_DA_REPLICACAO'
      FixedChar = True
      Size = 1
    end
    object cdsCadastroDATA_REPLICACAO: TDateTimeField
      FieldName = 'DATA_REPLICACAO'
    end
    object cdsCadastroUSUARIO_ATUALIZACAO: TStringField
      FieldName = 'USUARIO_ATUALIZACAO'
    end
    object cdsCadastroDATA_ATUALIZACAO: TDateTimeField
      FieldName = 'DATA_ATUALIZACAO'
    end
    object cdsCadastroUSUARIO_DESATUALIZACAO: TStringField
      FieldName = 'USUARIO_DESATUALIZACAO'
    end
    object cdsCadastroDATA_DESATUALIZACAO: TDateTimeField
      FieldName = 'DATA_DESATUALIZACAO'
    end
    object cdsCadastroNF_CHAVE_DE_ACESSO: TStringField
      FieldName = 'NF_CHAVE_DE_ACESSO'
      Size = 50
    end
    object cdsCadastroNF_MODELO: TIntegerField
      FieldName = 'NF_MODELO'
    end
    object cdsCadastroNF_ORIGEM: TStringField
      FieldName = 'NF_ORIGEM'
      Size = 15
    end
  end
  inherited dsCamposPesquisa: TDataSource
    Left = 552
    Top = 8
  end
  inherited OpenDialog1: TOpenDialog
    Left = 488
    Top = 64
  end
  object DSNotaFiscal: TDataSource
    Left = 760
    Top = 352
  end
  object DSLocal: TDataSource
    DataSet = DMGestao.QLocal
    Left = 624
    Top = 392
  end
  object DSCFOPNF: TDataSource
    DataSet = DMFinanceiro.QCFOP
    Left = 624
    Top = 472
  end
  object DSCFOPLF: TDataSource
    DataSet = DMFinanceiro.QCFOP
    Left = 696
    Top = 376
  end
  object DSFornecedor: TDataSource
    DataSet = DMGestao.QFornecedor
    Left = 680
    Top = 320
  end
  object DSPlanosaida: TDataSource
    DataSet = DMFinanceiro.QPlano
    Left = 336
    Top = 368
  end
  object DSPrestacao: TDataSource
    DataSet = QPrestacao
    Left = 704
    Top = 304
  end
  object QPrestacao: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      
        'select PrestacaoNotaFiscal.*,CONT_CORR_DESCRICAO,ESP_DESCRICAO f' +
        'rom (PrestacaoNotaFiscal  inner join Contacorrente on  PREST_NF_' +
        'CONTA = CONT_CORR_CODIGO ) inner join Especie on  PREST_NF_ESPEC' +
        'IE = ESP_CODIGO')
    Left = 680
    Top = 88
  end
  object DSConta: TDataSource
    DataSet = DMFinanceiro.QConta
    Left = 704
    Top = 32
  end
  object QVerifica: TQuery
    DatabaseName = 'base'
    Left = 752
    Top = 312
  end
  object DSEspecie: TDataSource
    DataSet = DMFinanceiro.QEspecie
    Left = 592
    Top = 72
  end
  object DSPedido: TDataSource
    DataSet = QPedidoCompra
    Left = 624
    Top = 432
  end
  object DSProduto: TDataSource
    DataSet = QProduto
    OnDataChange = DSProdutoDataChange
    Left = 520
    Top = 472
  end
  object QPedidoCompra: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT *'
      'FROM'
      '  PEDIDO'
      'WHERE'
      '  (PEDIDO.EXCLUIDO <> '#39'S'#39' OR PEDIDO.EXCLUIDO IS NULL) AND'
      '  (PEDIDO.PED_SITUACAO = 0)'
      '')
    Left = 800
    Top = 440
    object QPedidoCompraPED_CODIGO: TIntegerField
      FieldName = 'PED_CODIGO'
      Origin = 'BASE.PEDIDO.PED_CODIGO'
    end
    object QPedidoCompraPED_SOLICITANTE: TIntegerField
      FieldName = 'PED_SOLICITANTE'
      Origin = 'BASE.PEDIDO.PED_SOLICITANTE'
    end
    object QPedidoCompraPED_SOLICITANTE_DESC: TStringField
      FieldName = 'PED_SOLICITANTE_DESC'
      Origin = 'BASE.PEDIDO.PED_SOLICITANTE_DESC'
      Size = 60
    end
    object QPedidoCompraPED_FORNECEDOR: TIntegerField
      FieldName = 'PED_FORNECEDOR'
      Origin = 'BASE.PEDIDO.PED_FORNECEDOR'
    end
    object QPedidoCompraPED_FORNECEDOR_DESC: TStringField
      FieldName = 'PED_FORNECEDOR_DESC'
      Origin = 'BASE.PEDIDO.PED_FORNECEDOR_DESC'
      Size = 60
    end
    object QPedidoCompraPED_TRANSPORTADORA: TIntegerField
      FieldName = 'PED_TRANSPORTADORA'
      Origin = 'BASE.PEDIDO.PED_TRANSPORTADORA'
    end
    object QPedidoCompraPED_OBS: TStringField
      FieldName = 'PED_OBS'
      Origin = 'BASE.PEDIDO.PED_OBS'
      Size = 255
    end
    object QPedidoCompraPED_DATA: TDateTimeField
      FieldName = 'PED_DATA'
      Origin = 'BASE.PEDIDO.PED_DATA'
    end
    object QPedidoCompraPED_DATAENTREGA: TDateTimeField
      FieldName = 'PED_DATAENTREGA'
      Origin = 'BASE.PEDIDO.PED_DATAENTREGA'
    end
    object QPedidoCompraCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
      Origin = 'BASE.PEDIDO.CODIGOEMPRESA'
    end
    object QPedidoCompraPED_SITUACAO: TIntegerField
      FieldName = 'PED_SITUACAO'
      Origin = 'BASE.PEDIDO.PED_SITUACAO'
    end
    object QPedidoCompraPED_DATASITUACAO: TDateTimeField
      FieldName = 'PED_DATASITUACAO'
      Origin = 'BASE.PEDIDO.PED_DATASITUACAO'
    end
    object QPedidoCompraPED_LOCAL: TIntegerField
      FieldName = 'PED_LOCAL'
      Origin = 'BASE.PEDIDO.PED_LOCAL'
    end
    object QPedidoCompraPED_VALOR_TOT_ITENS: TFloatField
      FieldName = 'PED_VALOR_TOT_ITENS'
      Origin = 'BASE.PEDIDO.PED_VALOR_TOT_ITENS'
    end
    object QPedidoCompraPED_VALOR_TOT_OUTROS_VALORES: TFloatField
      FieldName = 'PED_VALOR_TOT_OUTROS_VALORES'
      Origin = 'BASE.PEDIDO.PED_VALOR_TOT_OUTROS_VALORES'
    end
    object QPedidoCompraPED_VALOR_DESC0NTO: TFloatField
      FieldName = 'PED_VALOR_DESC0NTO'
      Origin = 'BASE.PEDIDO.PED_VALOR_DESC0NTO'
    end
    object QPedidoCompraPED_VALOR_CREDITO: TFloatField
      FieldName = 'PED_VALOR_CREDITO'
      Origin = 'BASE.PEDIDO.PED_VALOR_CREDITO'
    end
    object QPedidoCompraPED_VALOR_PEDIDO: TFloatField
      FieldName = 'PED_VALOR_PEDIDO'
      Origin = 'BASE.PEDIDO.PED_VALOR_PEDIDO'
    end
    object QPedidoCompraPED_VALOR_TOT_IPI: TFloatField
      FieldName = 'PED_VALOR_TOT_IPI'
      Origin = 'BASE.PEDIDO.PED_VALOR_TOT_IPI'
    end
    object QPedidoCompraUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
      Origin = 'BASE.PEDIDO.USUARIO_CADASTRO'
    end
    object QPedidoCompraUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
      Origin = 'BASE.PEDIDO.USUARIO_AUTERACAO'
    end
    object QPedidoCompraUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
      Origin = 'BASE.PEDIDO.USUARIO_EXCLUSAO'
    end
    object QPedidoCompraDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
      Origin = 'BASE.PEDIDO.DATA_CADASTRO'
    end
    object QPedidoCompraDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
      Origin = 'BASE.PEDIDO.DATA_EXCLUSAO'
    end
    object QPedidoCompraDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
      Origin = 'BASE.PEDIDO.DATA_AUTERACAO'
    end
    object QPedidoCompraEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      Origin = 'BASE.PEDIDO.EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object QPedidoCompraPED_ORIGEM: TStringField
      FieldName = 'PED_ORIGEM'
      Origin = 'BASE.PEDIDO.PED_ORIGEM'
      FixedChar = True
      Size = 1
    end
    object QPedidoCompraPED_FRETE: TStringField
      FieldName = 'PED_FRETE'
      Origin = 'BASE.PEDIDO.PED_FRETE'
      FixedChar = True
      Size = 3
    end
    object QPedidoCompraPED_VALORFRETE: TFloatField
      FieldName = 'PED_VALORFRETE'
      Origin = 'BASE.PEDIDO.PED_VALORFRETE'
    end
    object QPedidoCompraPED_COMPRADOR: TStringField
      FieldName = 'PED_COMPRADOR'
      Origin = 'BASE.PEDIDO.PED_COMPRADOR'
    end
    object QPedidoCompraPED_TIPO: TStringField
      FieldName = 'PED_TIPO'
      Origin = 'BASE.PEDIDO.PED_TIPO'
      FixedChar = True
      Size = 1
    end
    object QPedidoCompraPED_SOLICITACAO: TIntegerField
      FieldName = 'PED_SOLICITACAO'
      Origin = 'BASE.PEDIDO.PED_SOLICITACAO'
    end
    object QPedidoCompraPED_DATASOLICITACAO: TDateTimeField
      FieldName = 'PED_DATASOLICITACAO'
      Origin = 'BASE.PEDIDO.PED_DATASOLICITACAO'
    end
    object QPedidoCompraPED_QTDSOLICITACAO: TIntegerField
      FieldName = 'PED_QTDSOLICITACAO'
      Origin = 'BASE.PEDIDO.PED_QTDSOLICITACAO'
    end
    object QPedidoCompraPED_CONDPAGTO: TStringField
      FieldName = 'PED_CONDPAGTO'
      Origin = 'BASE.PEDIDO.PED_CONDPAGTO'
    end
    object QPedidoCompraPED_PERCONDPAGTO: TStringField
      FieldName = 'PED_PERCONDPAGTO'
      Origin = 'BASE.PEDIDO.PED_PERCONDPAGTO'
    end
    object QPedidoCompraPED_CRITERIO: TIntegerField
      FieldName = 'PED_CRITERIO'
      Origin = 'BASE.PEDIDO.PED_CRITERIO'
    end
    object QPedidoCompraPED_FECHAMENTO: TStringField
      FieldName = 'PED_FECHAMENTO'
      Origin = 'BASE.PEDIDO.PED_FECHAMENTO'
      FixedChar = True
      Size = 1
    end
    object QPedidoCompraPED_CONTATO: TStringField
      FieldName = 'PED_CONTATO'
      Origin = 'BASE.PEDIDO.PED_CONTATO'
    end
    object QPedidoCompraPED_AUT1_SITUACAO: TStringField
      FieldName = 'PED_AUT1_SITUACAO'
      Origin = 'BASE.PEDIDO.PED_AUT1_SITUACAO'
      FixedChar = True
      Size = 1
    end
    object QPedidoCompraPED_AUT1_AUTORIZANTE: TIntegerField
      FieldName = 'PED_AUT1_AUTORIZANTE'
      Origin = 'BASE.PEDIDO.PED_AUT1_AUTORIZANTE'
    end
    object QPedidoCompraPED_AUT1_AUTORI_DESC: TStringField
      FieldName = 'PED_AUT1_AUTORI_DESC'
      Origin = 'BASE.PEDIDO.PED_AUT1_AUTORI_DESC'
      Size = 40
    end
    object QPedidoCompraPED_AUT1_DATA: TDateTimeField
      FieldName = 'PED_AUT1_DATA'
      Origin = 'BASE.PEDIDO.PED_AUT1_DATA'
    end
    object QPedidoCompraPED_AUT1_OBS: TStringField
      FieldName = 'PED_AUT1_OBS'
      Origin = 'BASE.PEDIDO.PED_AUT1_OBS'
      Size = 200
    end
    object QPedidoCompraPED_AUT2_SITUACAO: TStringField
      FieldName = 'PED_AUT2_SITUACAO'
      Origin = 'BASE.PEDIDO.PED_AUT2_SITUACAO'
      FixedChar = True
      Size = 1
    end
    object QPedidoCompraPED_AUT2_AUTORIZANTE: TIntegerField
      FieldName = 'PED_AUT2_AUTORIZANTE'
      Origin = 'BASE.PEDIDO.PED_AUT2_AUTORIZANTE'
    end
    object QPedidoCompraPED_AUT2_AUTORI_DESC: TStringField
      FieldName = 'PED_AUT2_AUTORI_DESC'
      Origin = 'BASE.PEDIDO.PED_AUT2_AUTORI_DESC'
      Size = 40
    end
    object QPedidoCompraPED_AUT2_DATA: TDateTimeField
      FieldName = 'PED_AUT2_DATA'
      Origin = 'BASE.PEDIDO.PED_AUT2_DATA'
    end
    object QPedidoCompraPED_AUT2_OBS: TStringField
      FieldName = 'PED_AUT2_OBS'
      Origin = 'BASE.PEDIDO.PED_AUT2_OBS'
      Size = 200
    end
    object QPedidoCompraPED_AUT3_SITUACAO: TStringField
      FieldName = 'PED_AUT3_SITUACAO'
      Origin = 'BASE.PEDIDO.PED_AUT3_SITUACAO'
      FixedChar = True
      Size = 1
    end
    object QPedidoCompraPED_AUT3_AUTORIZANTE: TIntegerField
      FieldName = 'PED_AUT3_AUTORIZANTE'
      Origin = 'BASE.PEDIDO.PED_AUT3_AUTORIZANTE'
    end
    object QPedidoCompraPED_AUT3_AUTORI_DESC: TStringField
      FieldName = 'PED_AUT3_AUTORI_DESC'
      Origin = 'BASE.PEDIDO.PED_AUT3_AUTORI_DESC'
      Size = 40
    end
    object QPedidoCompraPED_AUT3_DATA: TDateTimeField
      FieldName = 'PED_AUT3_DATA'
      Origin = 'BASE.PEDIDO.PED_AUT3_DATA'
    end
    object QPedidoCompraPED_AUT3_OBS: TStringField
      FieldName = 'PED_AUT3_OBS'
      Origin = 'BASE.PEDIDO.PED_AUT3_OBS'
      Size = 200
    end
    object QPedidoCompraPED_AUT_SITUACAO: TStringField
      FieldName = 'PED_AUT_SITUACAO'
      Origin = 'BASE.PEDIDO.PED_AUT_SITUACAO'
      FixedChar = True
      Size = 1
    end
  end
  object QItensPedidoCompra: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'select * from Pedido'
      'Order by Ped_Codigo')
    Left = 800
    Top = 400
  end
  object DSPortador: TDataSource
    DataSet = DMFinanceiro.Qportador
    Left = 744
    Top = 96
  end
  object dsCentroCusto: TDataSource
    DataSet = DMFinanceiro.QCentro
    Left = 640
    Top = 16
  end
  object DSTipoDocumento: TDataSource
    DataSet = DMFinanceiro.QTipoDocumento
    Left = 288
    Top = 312
  end
  object dsItensNF: TDataSource
    AutoEdit = False
    DataSet = cdsItensNF
    OnStateChange = dsItensNFStateChange
    OnDataChange = dsItensNFDataChange
    Left = 216
    Top = 320
  end
  object cdsItensNF: TClientDataSet
    Aggregates = <>
    IndexFieldNames = 'ITENS_NF_NOTAFISCAL'
    MasterFields = 'NF_CODIGO'
    MasterSource = dsCadastro
    PacketRecords = 0
    Params = <>
    ProviderName = 'dspItensNF'
    BeforePost = cdsItensNFBeforePost
    Left = 216
    Top = 448
    object cdsItensNFITENS_NF_CODIGO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'C'#243'digo'
      FieldName = 'ITENS_NF_CODIGO'
    end
    object cdsItensNFITENS_NF_NOTAFISCAL: TIntegerField
      DisplayLabel = 'NF N'#250'mero'
      FieldName = 'ITENS_NF_NOTAFISCAL'
    end
    object cdsItensNFITENS_NF_PRODUTO: TIntegerField
      Alignment = taCenter
      DisplayLabel = 'C'#243'digo'
      FieldName = 'ITENS_NF_PRODUTO'
    end
    object cdsItensNFITENS_NF_CFOPLF: TIntegerField
      FieldName = 'ITENS_NF_CFOPLF'
    end
    object cdsItensNFITENS_NF_INCENTIVOFISCAL: TStringField
      FieldName = 'ITENS_NF_INCENTIVOFISCAL'
      Size = 3
    end
    object cdsItensNFITENS_NF_QUANTIDADE: TFloatField
      DisplayLabel = 'Quant.'
      FieldName = 'ITENS_NF_QUANTIDADE'
    end
    object cdsItensNFITENS_NF_VALORUNITARIO: TFloatField
      DisplayLabel = 'Valor Unit'#225'rio'
      FieldName = 'ITENS_NF_VALORUNITARIO'
      DisplayFormat = '#,##0.00'
    end
    object cdsItensNFITENS_NF_VALORTOTAL: TFloatField
      FieldName = 'ITENS_NF_VALORTOTAL'
    end
    object cdsItensNFITENS_NF_PERICMS: TFloatField
      FieldName = 'ITENS_NF_PERICMS'
      DisplayFormat = '#,##0.00'
    end
    object cdsItensNFITENS_NF_PERIPI: TFloatField
      FieldName = 'ITENS_NF_PERIPI'
      DisplayFormat = '#,##0.00'
    end
    object cdsItensNFITENS_NF_VALORIPI: TFloatField
      FieldName = 'ITENS_NF_VALORIPI'
    end
    object cdsItensNFITENS_NF_DESCONTO: TFloatField
      FieldName = 'ITENS_NF_DESCONTO'
    end
    object cdsItensNFITENS_NF_PEDIDO: TIntegerField
      FieldName = 'ITENS_NF_PEDIDO'
    end
    object cdsItensNFITENS_NF_ENCERRAITEMPEDIDO: TStringField
      FieldName = 'ITENS_NF_ENCERRAITEMPEDIDO'
      Size = 6
    end
    object cdsItensNFITENS_NF_TOTAL_ENTRADAS_ESTOQUE: TFloatField
      FieldName = 'ITENS_NF_TOTAL_ENTRADAS_ESTOQUE'
    end
    object cdsItensNFITENS_NF_PERPIS: TFloatField
      FieldName = 'ITENS_NF_PERPIS'
    end
    object cdsItensNFITENS_NF_VALORPIS: TFloatField
      FieldName = 'ITENS_NF_VALORPIS'
    end
    object cdsItensNFITENS_NF_PERCOFINS: TFloatField
      FieldName = 'ITENS_NF_PERCOFINS'
    end
    object cdsItensNFITENS_NF_VALORCOFINS: TFloatField
      FieldName = 'ITENS_NF_VALORCOFINS'
    end
    object cdsItensNFITENS_NF_PERICMSSUBS: TFloatField
      FieldName = 'ITENS_NF_PERICMSSUBS'
    end
    object cdsItensNFITENS_NF_VALORICMSSUBS: TFloatField
      FieldName = 'ITENS_NF_VALORICMSSUBS'
    end
    object cdsItensNFUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
    end
    object cdsItensNFUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
    end
    object cdsItensNFUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
    end
    object cdsItensNFDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
    end
    object cdsItensNFDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
    end
    object cdsItensNFDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
    end
    object cdsItensNFEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object cdsItensNFPROD_DESC: TStringField
      DisplayLabel = 'Produto'
      FieldKind = fkLookup
      FieldName = 'PROD_DESC'
      LookupDataSet = DMGestao.QProdutoEnt
      LookupKeyFields = 'PROD_CODIGO'
      LookupResultField = 'PROD_DESCRICAOENT'
      KeyFields = 'ITENS_NF_PRODUTO'
      Size = 40
      Lookup = True
    end
    object cdsItensNFITENS_NF_PROD_DESC: TStringField
      DisplayLabel = 'Descri'#231#227'o'
      FieldName = 'ITENS_NF_PROD_DESC'
      Size = 80
    end
    object cdsItensNFUSUARIO: TStringField
      FieldName = 'USUARIO'
      Size = 10
    end
    object cdsItensNFDATAMODIFICACAO: TDateTimeField
      FieldName = 'DATAMODIFICACAO'
    end
    object cdsItensNFUSUARIO_RECUPERACAO: TStringField
      FieldName = 'USUARIO_RECUPERACAO'
    end
    object cdsItensNFDATA_RECUPERACAO: TDateTimeField
      FieldName = 'DATA_RECUPERACAO'
    end
    object cdsItensNFSITUACAO_DA_REPLICACAO: TStringField
      FieldName = 'SITUACAO_DA_REPLICACAO'
      FixedChar = True
      Size = 1
    end
    object cdsItensNFCODIGOEMPRESA: TIntegerField
      FieldName = 'CODIGOEMPRESA'
    end
    object cdsItensNFDATA_REPLICACAO: TDateTimeField
      FieldName = 'DATA_REPLICACAO'
    end
    object cdsItensNFITENS_NF_OBS: TStringField
      FieldName = 'ITENS_NF_OBS'
      Size = 200
    end
    object cdsItensNFITENS_NF_SITUACAO: TIntegerField
      FieldName = 'ITENS_NF_SITUACAO'
    end
    object cdsItensNFITENS_NF_NCM: TIntegerField
      FieldName = 'ITENS_NF_NCM'
    end
    object cdsItensNFITENS_NF_CST: TIntegerField
      FieldName = 'ITENS_NF_CST'
    end
    object cdsItensNFITENS_NF_UNIDADE: TStringField
      FieldName = 'ITENS_NF_UNIDADE'
      Size = 15
    end
    object cdsItensNFITENS_NF_BASE_ICMS: TFloatField
      FieldName = 'ITENS_NF_BASE_ICMS'
      DisplayFormat = '#,##0.00'
    end
    object cdsItensNFITENS_NF_BASE_ICMS_ST: TFloatField
      FieldName = 'ITENS_NF_BASE_ICMS_ST'
      DisplayFormat = '#,##0.00'
    end
    object cdsItensNFITENS_NF_PERICMS_ST: TFloatField
      FieldName = 'ITENS_NF_PERICMS_ST'
      DisplayFormat = '#,##0.00'
    end
    object cdsItensNFITENSNF_INDCRED_PIS: TStringField
      FieldName = 'ITENSNF_INDCRED_PIS'
      FixedChar = True
      Size = 1
    end
  end
  object dspItensNF: TDataSetProvider
    DataSet = qItensNF
    Left = 216
    Top = 408
  end
  object qItensNF: TQuery
    DatabaseName = 'base'
    DataSource = dsCadastro
    SQL.Strings = (
      'SELECT'
      '  *'
      'FROM'
      '  ITENSNOTAFISCAL'
      'WHERE'
      '  ITENS_NF_NOTAFISCAL = :NF_CODIGO')
    Left = 216
    Top = 360
    ParamData = <
      item
        DataType = ftInteger
        Name = 'ITENS_NF_NOTAFISCAL'
        ParamType = ptUnknown
        Value = 2
      end>
  end
  object QProduto: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'select * from Produto'
      'WHERE'
      '  (EXCLUIDO <> '#39'S'#39') or (EXCLUIDO IS NULL) AND'
      '  (PROD_ATIVO = '#39'S'#39')')
    Left = 488
    Top = 472
    object QProdutoPROD_CODIGO: TIntegerField
      FieldName = 'PROD_CODIGO'
      Origin = 'BASE.PRODUTO.PROD_CODIGO'
    end
    object QProdutoPROD_DESCRICAOENT: TStringField
      FieldName = 'PROD_DESCRICAOENT'
      Origin = 'BASE.PRODUTO.PROD_DESCRICAOENT'
      Size = 60
    end
    object QProdutoPROD_DESCRICAOSAI: TStringField
      FieldName = 'PROD_DESCRICAOSAI'
      Origin = 'BASE.PRODUTO.PROD_DESCRICAOSAI'
      Size = 60
    end
    object QProdutoPROD_REFERENCIA: TStringField
      FieldName = 'PROD_REFERENCIA'
      Origin = 'BASE.PRODUTO.PROD_REFERENCIA'
    end
    object QProdutoPROF_REF_FABRICANTE: TStringField
      FieldName = 'PROF_REF_FABRICANTE'
      Origin = 'BASE.PRODUTO.PROF_REF_FABRICANTE'
    end
    object QProdutoPROD_UNIDSAIDA: TStringField
      FieldName = 'PROD_UNIDSAIDA'
      Origin = 'BASE.PRODUTO.PROD_UNIDSAIDA'
      Size = 5
    end
    object QProdutoPROD_GRUPOPRODUTO: TIntegerField
      FieldName = 'PROD_GRUPOPRODUTO'
      Origin = 'BASE.PRODUTO.PROD_GRUPOPRODUTO'
    end
    object QProdutoPROD_CLASSIFPROD1: TIntegerField
      FieldName = 'PROD_CLASSIFPROD1'
      Origin = 'BASE.PRODUTO.PROD_CLASSIFPROD1'
    end
    object QProdutoPROD_CLASSFISCAL2: TIntegerField
      FieldName = 'PROD_CLASSFISCAL2'
      Origin = 'BASE.PRODUTO.PROD_CLASSFISCAL2'
    end
    object QProdutoPROD_CLASSFISCAL9: TIntegerField
      FieldName = 'PROD_CLASSFISCAL9'
      Origin = 'BASE.PRODUTO.PROD_CLASSFISCAL9'
    end
    object QProdutoPROD_CONTACONTABIL: TIntegerField
      FieldName = 'PROD_CONTACONTABIL'
      Origin = 'BASE.PRODUTO.PROD_CONTACONTABIL'
    end
    object QProdutoPROD_ICMS: TStringField
      FieldName = 'PROD_ICMS'
      Origin = 'BASE.PRODUTO.PROD_ICMS'
      Size = 6
    end
    object QProdutoPROD_IPI: TStringField
      FieldName = 'PROD_IPI'
      Origin = 'BASE.PRODUTO.PROD_IPI'
      Size = 6
    end
    object QProdutoPROD_TIPO: TIntegerField
      FieldName = 'PROD_TIPO'
      Origin = 'BASE.PRODUTO.PROD_TIPO'
    end
    object QProdutoPROD_NATUREZA: TIntegerField
      FieldName = 'PROD_NATUREZA'
      Origin = 'BASE.PRODUTO.PROD_NATUREZA'
    end
    object QProdutoPROD_SITUACAOTRIBUTARIA: TIntegerField
      FieldName = 'PROD_SITUACAOTRIBUTARIA'
      Origin = 'BASE.PRODUTO.PROD_SITUACAOTRIBUTARIA'
    end
    object QProdutoPROD_VALOR: TFloatField
      FieldName = 'PROD_VALOR'
      Origin = 'BASE.PRODUTO.PROD_VALOR'
    end
    object QProdutoPROD_VALORCOMPRA: TFloatField
      FieldName = 'PROD_VALORCOMPRA'
      Origin = 'BASE.PRODUTO.PROD_VALORCOMPRA'
    end
    object QProdutoPROD_SUBS_TRIBUTARIA: TFloatField
      FieldName = 'PROD_SUBS_TRIBUTARIA'
      Origin = 'BASE.PRODUTO.PROD_SUBS_TRIBUTARIA'
    end
    object QProdutoPROD_INCENTIVO_FISCAL: TStringField
      FieldName = 'PROD_INCENTIVO_FISCAL'
      Origin = 'BASE.PRODUTO.PROD_INCENTIVO_FISCAL'
      Size = 3
    end
    object QProdutoPROD_PESO_BRUTO: TFloatField
      FieldName = 'PROD_PESO_BRUTO'
      Origin = 'BASE.PRODUTO.PROD_PESO_BRUTO'
    end
    object QProdutoPROD_PESO_LIQUIDO: TFloatField
      FieldName = 'PROD_PESO_LIQUIDO'
      Origin = 'BASE.PRODUTO.PROD_PESO_LIQUIDO'
    end
    object QProdutoPROD_ALIQUOTA_ICMS: TFloatField
      FieldName = 'PROD_ALIQUOTA_ICMS'
      Origin = 'BASE.PRODUTO.PROD_ALIQUOTA_ICMS'
    end
    object QProdutoPROD_ALIQUOTA_IPI: TFloatField
      FieldName = 'PROD_ALIQUOTA_IPI'
      Origin = 'BASE.PRODUTO.PROD_ALIQUOTA_IPI'
    end
    object QProdutoPROD_REDUCAO_BASE_ICMS: TFloatField
      FieldName = 'PROD_REDUCAO_BASE_ICMS'
      Origin = 'BASE.PRODUTO.PROD_REDUCAO_BASE_ICMS'
    end
    object QProdutoPROD_REDUCAO_BASE_IPI: TFloatField
      FieldName = 'PROD_REDUCAO_BASE_IPI'
      Origin = 'BASE.PRODUTO.PROD_REDUCAO_BASE_IPI'
    end
    object QProdutoPROD_PERC_AGREGACAO_ICMS_SUB: TFloatField
      FieldName = 'PROD_PERC_AGREGACAO_ICMS_SUB'
      Origin = 'BASE.PRODUTO.PROD_PERC_AGREGACAO_ICMS_SUB'
    end
    object QProdutoPROD_PERC_PIS: TFloatField
      FieldName = 'PROD_PERC_PIS'
      Origin = 'BASE.PRODUTO.PROD_PERC_PIS'
    end
    object QProdutoPROD_CREDITAR_PIS: TIntegerField
      FieldName = 'PROD_CREDITAR_PIS'
      Origin = 'BASE.PRODUTO.PROD_CREDITAR_PIS'
    end
    object QProdutoPROD_PERC_COFINS: TFloatField
      FieldName = 'PROD_PERC_COFINS'
      Origin = 'BASE.PRODUTO.PROD_PERC_COFINS'
    end
    object QProdutoPROD_CREDITAR_COFINS: TIntegerField
      FieldName = 'PROD_CREDITAR_COFINS'
      Origin = 'BASE.PRODUTO.PROD_CREDITAR_COFINS'
    end
    object QProdutoPROD_ICMS_SUBS: TStringField
      FieldName = 'PROD_ICMS_SUBS'
      Origin = 'BASE.PRODUTO.PROD_ICMS_SUBS'
      Size = 6
    end
    object QProdutoPROD_CONTACONTABIL_REC_CUST: TIntegerField
      FieldName = 'PROD_CONTACONTABIL_REC_CUST'
      Origin = 'BASE.PRODUTO.PROD_CONTACONTABIL_REC_CUST'
    end
    object QProdutoPROD_CONTACONTABIL_CUSTO: TIntegerField
      FieldName = 'PROD_CONTACONTABIL_CUSTO'
      Origin = 'BASE.PRODUTO.PROD_CONTACONTABIL_CUSTO'
    end
    object QProdutoPROD_CONTACONTABIL_RECEITA: TIntegerField
      FieldName = 'PROD_CONTACONTABIL_RECEITA'
      Origin = 'BASE.PRODUTO.PROD_CONTACONTABIL_RECEITA'
    end
    object QProdutoPROD_CONTADEVOLUCAO: TIntegerField
      FieldName = 'PROD_CONTADEVOLUCAO'
      Origin = 'BASE.PRODUTO.PROD_CONTADEVOLUCAO'
    end
    object QProdutoPROD_CONSIDERAR_TOPERACAO_NFSAI: TIntegerField
      FieldName = 'PROD_CONSIDERAR_TOPERACAO_NFSAI'
      Origin = 'BASE.PRODUTO.PROD_CONSIDERAR_TOPERACAO_NFSAI'
    end
    object QProdutoPROD_CODIGO_APURACAO: TStringField
      FieldName = 'PROD_CODIGO_APURACAO'
      Origin = 'BASE.PRODUTO.PROD_CODIGO_APURACAO'
      FixedChar = True
      Size = 2
    end
    object QProdutoPROD_IDENTI_ESPECIAL: TStringField
      FieldName = 'PROD_IDENTI_ESPECIAL'
      Origin = 'BASE.PRODUTO.PROD_IDENTI_ESPECIAL'
      FixedChar = True
      Size = 2
    end
    object QProdutoPROD_CODIGO_NBM: TStringField
      FieldName = 'PROD_CODIGO_NBM'
      Origin = 'BASE.PRODUTO.PROD_CODIGO_NBM'
      FixedChar = True
      Size = 8
    end
    object QProdutoPROD_PROPIEDADE: TIntegerField
      FieldName = 'PROD_PROPIEDADE'
      Origin = 'BASE.PRODUTO.PROD_PROPIEDADE'
    end
    object QProdutoPROD_COMISSAO_VEND: TFloatField
      FieldName = 'PROD_COMISSAO_VEND'
      Origin = 'BASE.PRODUTO.PROD_COMISSAO_VEND'
    end
    object QProdutoPROD_CV: TFloatField
      FieldName = 'PROD_CV'
      Origin = 'BASE.PRODUTO.PROD_CV'
    end
    object QProdutoPROD_FORNECEDOR_PREF: TIntegerField
      FieldName = 'PROD_FORNECEDOR_PREF'
      Origin = 'BASE.PRODUTO.PROD_FORNECEDOR_PREF'
    end
    object QProdutoPROD_DESCRICAO_COMPLEMENTO: TStringField
      FieldName = 'PROD_DESCRICAO_COMPLEMENTO'
      Origin = 'BASE.PRODUTO.PROD_DESCRICAO_COMPLEMENTO'
      Size = 70
    end
    object QProdutoPROD_DESCRICAO_COMPLEMENTO2: TStringField
      FieldName = 'PROD_DESCRICAO_COMPLEMENTO2'
      Origin = 'BASE.PRODUTO.PROD_DESCRICAO_COMPLEMENTO2'
      Size = 70
    end
    object QProdutoPROD_DESCRICAO_COMPLEMENTO3: TStringField
      FieldName = 'PROD_DESCRICAO_COMPLEMENTO3'
      Origin = 'BASE.PRODUTO.PROD_DESCRICAO_COMPLEMENTO3'
      Size = 70
    end
    object QProdutoPROD_DESCRICAO_COMPLEMENTO4: TStringField
      FieldName = 'PROD_DESCRICAO_COMPLEMENTO4'
      Origin = 'BASE.PRODUTO.PROD_DESCRICAO_COMPLEMENTO4'
      Size = 70
    end
    object QProdutoPROD_DESCRICAO_COMPLEMENTO5: TStringField
      FieldName = 'PROD_DESCRICAO_COMPLEMENTO5'
      Origin = 'BASE.PRODUTO.PROD_DESCRICAO_COMPLEMENTO5'
      Size = 70
    end
    object QProdutoPROD_TRAVAPEDIDO: TStringField
      FieldName = 'PROD_TRAVAPEDIDO'
      Origin = 'BASE.PRODUTO.PROD_TRAVAPEDIDO'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_CODIGO_CONFERENCIA: TIntegerField
      FieldName = 'PROD_CODIGO_CONFERENCIA'
      Origin = 'BASE.PRODUTO.PROD_CODIGO_CONFERENCIA'
    end
    object QProdutoUSUARIO_CADASTRO: TStringField
      FieldName = 'USUARIO_CADASTRO'
      Origin = 'BASE.PRODUTO.USUARIO_CADASTRO'
    end
    object QProdutoUSUARIO_AUTERACAO: TStringField
      FieldName = 'USUARIO_AUTERACAO'
      Origin = 'BASE.PRODUTO.USUARIO_AUTERACAO'
    end
    object QProdutoUSUARIO_EXCLUSAO: TStringField
      FieldName = 'USUARIO_EXCLUSAO'
      Origin = 'BASE.PRODUTO.USUARIO_EXCLUSAO'
    end
    object QProdutoDATA_CADASTRO: TDateTimeField
      FieldName = 'DATA_CADASTRO'
      Origin = 'BASE.PRODUTO.DATA_CADASTRO'
    end
    object QProdutoDATA_EXCLUSAO: TDateTimeField
      FieldName = 'DATA_EXCLUSAO'
      Origin = 'BASE.PRODUTO.DATA_EXCLUSAO'
    end
    object QProdutoDATA_AUTERACAO: TDateTimeField
      FieldName = 'DATA_AUTERACAO'
      Origin = 'BASE.PRODUTO.DATA_AUTERACAO'
    end
    object QProdutoEXCLUIDO: TStringField
      FieldName = 'EXCLUIDO'
      Origin = 'BASE.PRODUTO.EXCLUIDO'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_MARCA: TStringField
      FieldName = 'PROD_MARCA'
      Origin = 'BASE.PRODUTO.PROD_MARCA'
    end
    object QProdutoPROD_FABRICANTE: TIntegerField
      FieldName = 'PROD_FABRICANTE'
      Origin = 'BASE.PRODUTO.PROD_FABRICANTE'
    end
    object QProdutoPROD_NOVO_RECUPERADO: TStringField
      FieldName = 'PROD_NOVO_RECUPERADO'
      Origin = 'BASE.PRODUTO.PROD_NOVO_RECUPERADO'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_LOCALIZACAO: TStringField
      FieldName = 'PROD_LOCALIZACAO'
      Origin = 'BASE.PRODUTO.PROD_LOCALIZACAO'
      Size = 6
    end
    object QProdutoPROD_ATIVO: TStringField
      FieldName = 'PROD_ATIVO'
      Origin = 'BASE.PRODUTO.PROD_ATIVO'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_CONTROLE_MANUTENCAO: TStringField
      FieldName = 'PROD_CONTROLE_MANUTENCAO'
      Origin = 'BASE.PRODUTO.PROD_CONTROLE_MANUTENCAO'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_KIT: TStringField
      FieldName = 'PROD_KIT'
      Origin = 'BASE.PRODUTO.PROD_KIT'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_USO_CONSUMO: TStringField
      FieldName = 'PROD_USO_CONSUMO'
      Origin = 'BASE.PRODUTO.PROD_USO_CONSUMO'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_MERCADO_NR: TStringField
      FieldName = 'PROD_MERCADO_NR'
      Origin = 'BASE.PRODUTO.PROD_MERCADO_NR'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_PERECIVEL: TStringField
      FieldName = 'PROD_PERECIVEL'
      Origin = 'BASE.PRODUTO.PROD_PERECIVEL'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_RESUPRIMENTO: TStringField
      FieldName = 'PROD_RESUPRIMENTO'
      Origin = 'BASE.PRODUTO.PROD_RESUPRIMENTO'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_PPEDIDO: TStringField
      FieldName = 'PROD_PPEDIDO'
      Origin = 'BASE.PRODUTO.PROD_PPEDIDO'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_QTD_PPEDIDO: TIntegerField
      FieldName = 'PROD_QTD_PPEDIDO'
      Origin = 'BASE.PRODUTO.PROD_QTD_PPEDIDO'
    end
    object QProdutoPROD_DT_PPEDIDO: TDateTimeField
      FieldName = 'PROD_DT_PPEDIDO'
      Origin = 'BASE.PRODUTO.PROD_DT_PPEDIDO'
    end
    object QProdutoPROD_PRAZO_ENTREGA: TIntegerField
      FieldName = 'PROD_PRAZO_ENTREGA'
      Origin = 'BASE.PRODUTO.PROD_PRAZO_ENTREGA'
    end
    object QProdutoPROD_TIPOVENDA: TIntegerField
      FieldName = 'PROD_TIPOVENDA'
      Origin = 'BASE.PRODUTO.PROD_TIPOVENDA'
    end
    object QProdutoPROD_IND_CENTROCUSTO: TStringField
      FieldName = 'PROD_IND_CENTROCUSTO'
      Origin = 'BASE.PRODUTO.PROD_IND_CENTROCUSTO'
      FixedChar = True
      Size = 1
    end
    object QProdutoPROD_CODIGO_ANT: TIntegerField
      FieldName = 'PROD_CODIGO_ANT'
      Origin = 'BASE.PRODUTO.PROD_CODIGO_ANT'
    end
    object QProdutoCHAVE_CLASS: TStringField
      FieldName = 'CHAVE_CLASS'
      Origin = 'BASE.PRODUTO.CHAVE_CLASS'
      Size = 6
    end
  end
  object DSModelo: TDataSource
    AutoEdit = False
    DataSet = QModelo
    Left = 552
    Top = 336
  end
  object QModelo: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT * FROM MODELO_NOTAFISCAL'
      'WHERE (EXCLUIDO IS NULL) OR (EXCLUIDO <> '#39'S'#39')')
    Left = 592
    Top = 360
  end
  object XMLDocument1: TXMLDocument
    Left = 364
    Top = 67
    DOMVendorDesc = 'MSXML'
  end
  object SocketConnection1: TSocketConnection
    ServerGUID = '{2FD046AF-1AE1-403F-9A71-5391E8D4AE16}'
    ServerName = 'PSGEServer.rdmFinanceiro'
    Host = 'localhost'
    Left = 241
    Top = 98
  end
end
